package com.gxa.clientarticle.pojo;

/*
 *
 *@author leijun
 *
 *@creating 2020/11/13 9:42
 *
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @ClassName Article
 * @Description TODO
 * @Author 俊
 * @Date 2020/11/13 9:42
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_article")
public class Article implements Serializable {

    @Id
    @Column(name = "art_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;  //id

    @Column(name = "art_name")
    private String name; //文章标题

    @Column(name = "type_id")
    private Integer type; //文章分类

    @Column(name = "art_state")
    private Boolean state; //显示状态

    @Column(name = "art_keys")
    private String keys; //关键字

    @Column(name = "art_description")
    private String description; //网页描述

    @Column(name = "art_link")
    private String link; //跳转链接

    @Column(name = "art_small")
    private String small; //小图

    @Column(name = "art_big")
    private String big; //大图

     @Column(name = "art_content")
    private String content; //文章内容
}
